package org.example.Server;


import org.example.Pojo.Student;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface StudentServer {
    List<Student> getStudents(String name, Integer degree, Integer clazzId, Integer page, Integer pageSize);

    void add(Student student);

    Student getStudentById(Integer id);

    void updateStudent(Student student);

    void deleteStudent(List<Integer> ids);

    void violationStudent(Integer id, Integer score);
}
